@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

@import "@/modules/block_slides.scss";
@import "@/modules/animation.scss";
@import "@/modules/block_rich.scss";
@import "@/modules/block_slogan.scss";
@import "@/modules/block_marquee.scss";
@import "@/modules/block_image_text_list.scss";
@import "@/modules/block_image_text.scss";
@import "@/modules/block_testimonials.scss";
@import "@/modules/block_video_image_text.scss";
@import "@/modules/block_collection_slides.scss";
@import "@/modules/product_detail.scss";
@import "@/modules/collection_product.scss";
@import "@/modules/block_product_single.scss";
@import "@/modules/components/footer_menu.scss";
@import "@/modules/components/currency.scss";
@import "@/modules/components/oem_header.scss";
@import "@/modules/components/header_menu.scss";
@import "@/modules/components/mobile_nav.scss";
@import "@/modules/footer.scss";
@import "@/modules/header.scss";

.public_radius {
  border-radius: 6px;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  width: 100%;
}

.line-clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
}

.general-price {
  color: var(--buying_parice_color);
  font-weight: bold;
  white-space: nowrap;
}

.general-oldprice {
  text-decoration: line-through;
  font-weight: bold;
  color: var(--original_price_color);
  white-space: nowrap;
}

.public_title {
  font-family: var(--title_font_family);
  font-style: var(--title_font_style);
  font-weight: var(--title_font_weigth);
  letter-spacing: var(--title_letter_spacing);
  font-size: var(--title_font_size);
  @media (max-width: 767px) {
    font-size: calc(var(--title_font_size) * 0.666) !important;
  }
}

.title_family {
  font-family: var(--title_font_family);
  font-style: var(--title_font_style);
  font-weight: var(--title_font_weigth);
  letter-spacing: var(--title_letter_spacing);
}

.block_title {
  margin-bottom: 30px;
  h2 {
    font-weight: 700;
    @media (max-width: 767px) {
      font-size: calc(
        var(--title_font_size) * 0.666
      ) !important;
    }
  }
  .block_detail {
    margin-top: 15px;
  }
}
.block_title_custom {
  margin-bottom: 30px;
  position: relative;
  h2 {
    color: var(--title_color);
    font-family: var(--title_font_family);
    font-style: var(--title_font_style);
    font-weight: 700;
    letter-spacing: var(--title_letter_spacing);
    font-size: var(--title_font_size);

    @media (max-width: 767px) {
      font-size: calc(
        var(--title_font_size) * 0.666
      ) !important;
    }
    .title_more {
      font-size: var(--general_font_size);
      @media screen and (max-width: 767px) {
        font-size: 14px;
      }
      font-weight: 400;
      color: var(--title_color);
      &:hover {
        text-decoration: underline;
      }
    }
  }

  .block_detail {
    color: var(--detail_color);
    margin-top: 15px;
  }
}


.public_btn {
  position: relative;
  display: inline-block;
  padding: 13px 31px;
  border-radius: var(--button_border_radius);
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  transition: background-color 0.1s, color 0.1s, border-color 0.1s, opacity 0.1s,
    transform 50ms;
  span {
    position: relative;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  }
  &::after {
    content: "";
    position: absolute;
    top: calc(50% - 18px / 2);
    right: 13px;
    opacity: 0;
    width: 18px;
    height: 18px;
    background-size: 100%;
    background-repeat: no-repeat;
    transform: translateX(-7px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-1 0 23 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3Cpolyline points='3 12 14 12'%3E%3C/polyline%3E%3C/svg%3E");
  }
  &:hover {
    background: #141414;
    border-color: #141414;
    color: #ffffff;
    span {
      transform: translate(-7px);
    }
    &::after {
      opacity: 1;
      transform: translate(0);
    }
  }
}

.hsl-style {
  font-size: 26px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hsl-style {
    font-size: max(calc(76px * 0.7), 26px);
    line-height: 1.2;
  }
}
@media (min-width: 1100px) {
  .hsl-style {
    font-size: 76px;
  }
}

.btn {
  .swiper-button-prev,.swiper-button-next {
    &.swiper-button-disabled {
      pointer-events: all;
    }
    svg{
      transition: transform .25s ease;
    }
    &:hover {
      svg {
        transform: scale(.8);
      }
    }
  }
}

.public_subtitle {
  font-size: calc(var(--general_font_size) - 2px);
  font-family: var(--general_font_family);
}